import http from './http'
import type { RoleListResType } from '@/interface/role/roleType'
/**
 * 获取角色列表数据
 * @returns
 */
export const getRoleListAPI = (): Promise<RoleListResType> => {
  return http({
    method: 'GET',
    url: `/role/rolelist`
  })
}
